package org.hxyjs.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class RecordOfUserLs implements Serializable {
    private String rnoulsno;

    private String prno;

    private String uno;

    private Date rutime;

    private static final long serialVersionUID = 1L;

    public String getRnoulsno() {
        return rnoulsno;
    }

    public void setRnoulsno(String rnoulsno) {
        this.rnoulsno = rnoulsno;
    }

    public String getPrno() {
        return prno;
    }

    public void setPrno(String prno) {
        this.prno = prno;
    }

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }

    public Date getRutime() {
        return rutime;
    }

    public void setRutime(Date rutime) {
        this.rutime = rutime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        RecordOfUserLs other = (RecordOfUserLs) that;
        return (this.getRnoulsno() == null ? other.getRnoulsno() == null : this.getRnoulsno().equals(other.getRnoulsno()))
            && (this.getPrno() == null ? other.getPrno() == null : this.getPrno().equals(other.getPrno()))
            && (this.getUno() == null ? other.getUno() == null : this.getUno().equals(other.getUno()))
            && (this.getRutime() == null ? other.getRutime() == null : this.getRutime().equals(other.getRutime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getRnoulsno() == null) ? 0 : getRnoulsno().hashCode());
        result = prime * result + ((getPrno() == null) ? 0 : getPrno().hashCode());
        result = prime * result + ((getUno() == null) ? 0 : getUno().hashCode());
        result = prime * result + ((getRutime() == null) ? 0 : getRutime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", rnoulsno=").append(rnoulsno);
        sb.append(", prno=").append(prno);
        sb.append(", uno=").append(uno);
        sb.append(", rutime=").append(rutime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}